<%@ page language="java" contentType="text/html;charset=UTF-8" %><%@ include file="../../inc/global.jsp" 
%>
<table>
<thead>
<tr>
<th class="brand"><fmt:message key="message.brand.name" /></th>
<th class="category"><fmt:message key="message.category.name" /></th>
<th class="type">
<fmt:message key="message.goods.name" />
<c:forEach var="prop" items="${props}">
/ ${prop.name}
</c:forEach>
</th>
<th><fmt:message key="message.goods.displayName" /></th>
<th><fmt:message key="message.goods.price" /></th>
<th>入库时间</th>
<th>修改</th>
</tr>
</thead>
<tbody>
<c:forEach var="item" items="${goodsVOList}" varStatus="s">
<tr>
<c:choose>
<c:when test="${(s.index % 2) != 0}">
<tr class="trbg">
</c:when>
<c:otherwise>
</tr>
</c:otherwise>
</c:choose>
<td><a href="/a/store/list?bid=${item.brandId}">${item.brandName}</a></td>
<td><a href="/a/store/list?cid=${item.categoryId}">${item.categoryName}</a></td>
<td>
<a href="/a/batch/list?gid=${item.id}">${item.name}</a>
<c:forEach var="value" items="${item.propValues}"> / ${value.propValueName}</c:forEach>
</td>
<td>${item.displayName}</td>
<td>${item.price}</td>
<td><fmt:formatDate pattern="yy-MM-dd hh:mm:ss" value="${item.recentlyUpdate}" /></td>
<td><a href="/a/goods/form?id=${item.id}">修改</a></td>
</tr>
</c:forEach>
</tbody>
</table>